package com.wz.project.api.barcode.mapper;

import com.wz.framework.aspectj.lang.annotation.DataSource;
import com.wz.framework.aspectj.lang.enums.DataSourceType;
import com.wz.project.api.barcode.domain.Barcode;

import javax.persistence.ParameterMode;
import javax.persistence.StoredProcedureQuery;
import java.util.List;
import java.util.Map;

@DataSource(value = DataSourceType.SLAVE)
public interface BarcodeMapper {

    List<Barcode>  selectBarcodeList(Barcode barcode);

    Barcode  selectBarcodeById(String fbarcode);

    List<Barcode> selectListByMatnr(String Matnr);

    List<Barcode> selectBarcodeBycode(String barcodeMain);

    void selectBarcodeByIdHs(Map<String,String> map);



}
